package zhongbo.java.air.dictionary.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("警戒区域表")
@TableName("air_alert_zone")
public class Zone {
@TableId(type = IdType.ASSIGN_UUID)
    private String id;
@ApiModelProperty("区域业务编号")
    private String zoneCode;
@ApiModelProperty("区域类型")
    private String zoneType;
@ApiModelProperty("多边形顶点坐标")
    private String vertices;
@ApiModelProperty("生效开始时间")
    private Date effectiveStart;
@ApiModelProperty("生效结束时间")
    private Date effectiveEnd;
@ApiModelProperty("创建时间")
    private Date createTime;
@ApiModelProperty("更新时间")
    private Date updateTime;

public enum zoneType{
    NO_FLY,//禁飞区,
    RESTRICTED,//限制区,
    TEMPORARY//临时区
}
}
